package com.gitee.neuray.security.admin.element.entity;

import com.gitee.neuray.security.common.entity.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;

import java.util.Date;

/**
 * 代码生成
 *
 * @author zhoyou
 * @email ${email}
 * @date 2020-03-12 05:50:07
 */
@Data
@Table(name = "ADMIN_ELEMENT")
public class AdminElementEntity extends BaseEntity {


    /**
     * 资源编码
     */
    @Column(name = "CODE")
    private String code;

    /**
     * 资源类型
     */
    @Column(name = "TYPE")
    private String type;

    /**
     * 资源名称
     */
    @Column(name = "NAME")
    private String name;

    /**
     * 资源路径
     */
    @Column(name = "URI")
    private String uri;

    /**
     * 资源关联菜单
     */
    @Column(name = "MENU_ID")
    private String menuId;

    /**
     * 父级节点
     */
    @Column(name = "PARENT_ID")
    private String parentId;

    /**
     * 资源树状检索路径
     */
    @Column(name = "PATH")
    private String path;

    /**
     * 资源请求类型
     */
    @Column(name = "METHOD")
    private String method;

    /**
     * 描述
     */
    @Column(name = "DESCRIPTION")
    private String description;

}
